package com.yishan.domain;

import java.sql.Date;
import java.util.List;

/**
 * 图纸详细信息实体类
 *
 * @Author yishan
 * @Date 2021/4/28 0028 11:24
 * @Version 1.0
 */
public class Draw {

	private String id;
	private String draw_name;       //图纸名称
	private String durl;            //图纸地址
	private String info;            //图纸信息
	private Date filing_time;       //归档时间
	private String type_id;         //类别id
	private String user_id;

	private Type type;              //图纸类别
	private User user;              //负责人


	@Override
	public String toString() {
		return "Draw{" +
				"id='" + id + '\'' +
				", draw_name='" + draw_name + '\'' +
				", durl='" + durl + '\'' +
				", info='" + info + '\'' +
				", filing_time=" + filing_time +
				", type_id='" + type_id + '\'' +
				", user_id='" + user_id + '\'' +
				", type=" + type +
				", user=" + user +
				'}';
	}

	public Draw() {
	}

	public Draw(String id, String draw_name, String durl, String info, Date filing_time, String type_id, String user_id, Type type,
			User user) {
		this.id = id;
		this.draw_name = draw_name;
		this.durl = durl;
		this.info = info;
		this.filing_time = filing_time;
		this.type_id = type_id;
		this.user_id = user_id;
		this.type = type;
		this.user = user;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDraw_name() {
		return draw_name;
	}

	public void setDraw_name(String draw_name) {
		this.draw_name = draw_name;
	}

	public String getDurl() {
		return durl;
	}

	public void setDurl(String durl) {
		this.durl = durl;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Date getFiling_time() {
		return filing_time;
	}

	public void setFiling_time(Date filing_time) {
		this.filing_time = filing_time;
	}

	public String getType_id() {
		return type_id;
	}

	public void setType_id(String type_id) {
		this.type_id = type_id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
